<script setup>
const props = defineProps({
  styleObj: {
    type:Object,
    default:()=>{}
  }
})
</script>

<template>
  <div class="card" :style="styleObj">
    <slot />
  </div>
</template>

<style scoped>
.card {
  background: #fff;
  padding: 10px;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
}
</style>
